<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 *
 * @abstract wms ajax
 * @author Lindan
 *
 */
class Wmsajax extends CI_Controller
{
    function __construct()
    {
        parent::__construct();
        $this->load->model('wms/auxfunction_model');
    }

    /**
     * 获取用户仓库信息信息
     */
    function getUserWhsInfo()
    {
        //接收参数
        $gp=gp();
        $user_id = trim($gp['user_id']);
        $selectFirst= $this->auxfunction_model->getUserWhsInfo(array('user_id'=>$user_id));
        echo json_encode($selectFirst);
    }
}
